package com.star.common.notify.config;

import com.google.common.collect.Maps;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.Map;

/**
 * 钉钉配置
 *
 * @author zhouhengzhe #公众号：小白的Java进阶之路
 */
@Configuration
public class DingTaskConfig {
    @Bean("dingtaskPropertiesMap")
    @ConfigurationProperties(prefix = "star.dingtask")
    public Map<String, DingTaskProperties> redisPropertiesMap() {
        return Maps.newHashMap();
    }
}

